package com.cqie.tes.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.cqie.tes.comm.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author DD-GKD
 * @since 2020-09-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tes_dept")
@ApiModel(value="Dept对象", description="")
public class Dept extends BaseEntity implements Serializable {

    private static final long serialVersionUID=1L;

//      @TableId(value = "id", type = IdType.AUTO)
//    private Integer id;

    @ApiModelProperty(value = "部门名称")
    private String name;

    @ApiModelProperty(value = "父")
    @TableField("parentId")
    private Integer parentId;

    @ApiModelProperty(value = "排序码")
    @TableField("sortCode")
    private Integer sortCode;

//    @TableField("deptId")
//    private Integer mark;

//    @ApiModelProperty(value = "用户id")
//    @TableField("userId")
//    private Integer userId;


}
